Re[2]: [SQL] How to Make Case InSensitive??? - Mailing list pgsql-sql

From Herouth Maoz
Subject Re[2]: [SQL] How to Make Case InSensitive???
Date
Msg-id l03110703b2257e356866@[147.233.159.109]
Whole thread Raw
In response to Re[2]: [SQL] How to Make Case InSensitive???  (Sferacarta Software <sferac@bo.nettuno.it>)
List pgsql-sql
At 16:14 +0200 on 16/9/98, Sferacarta Software wrote:


> regular expression operators ^ stand for first character and $ stand
> for last character:
>
>     ~* '^india$'
>
> matches  India
>          india
>          INDIA
>
> but not  Indiana
>          New India

Another way to think of it is like this:

'india'      is eqivalent to       "contains 'india'"
'^india'     is eqivalent to       "starts with 'india'"
'india$'     is eqivalent to       "ends with 'india'"
'^india$'    is eqivalent to       "is exactly 'india'"

Herouth

--
Herouth Maoz, Internet developer.
Open University of Israel - Telem project
http://telem.openu.ac.il/~herutma




pgsql-sql by date:

Previous
From: Sferacarta Software
Date:
Subject: Re[2]: [SQL] How to Make Case InSensitive???
Next
From: Barracuda
Date:
Subject: Re: [SQL] How to Make Case InSensitive???